#include "Paths.h"

static SPath ApplicationPath;

static SPath ContentDirectory;


void SPaths::SetExecutablePath(const SPath& ExePath)
{
    ApplicationPath=ExePath;
}

void SPaths::SetContentDirectory(const SPath& InContentDirectory)
{
    ContentDirectory=InContentDirectory;
}

SPath SPaths::GetContentDirectory()
{
    return ContentDirectory;
}

SPath SPaths::GetExecutablePath()
{
    return ApplicationPath;
}

SPath SPaths::GetWorkingDirectory()
{
    return std::filesystem::current_path();
}


SPath SPaths::GetEngineShaderDirectory()
{
    return GetEngineContentDirectory()/U"Shaders";
}

SPath SPaths::GetEngineContentDirectory()
{   
    return ContentDirectory/U"Engine";
}

